package com.thinkgem.jeesite.modules.devmng.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.common.collect.Lists;
import com.thinkgem.jeesite.modules.sys.entity.Office;
import com.thinkgem.jeesite.modules.sys.entity.User;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Created by admin on 2017-12-6.
 */
public class TaskMainResponse extends BaseVo {

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date taskStart;        // 计划开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date taskEnd;        // 计划结束时间
    private User taskOperator;        // 操作人
    private String taskTitle;        // 任务标题
    private String taskType;        // 任务类型
    private Office sysOffice;        // 部门
    private String taskStatus;        // 任务状态
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;        // 签收开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date closeDate;        // 结束时间
    private String stationDutyPerson; // 值班人员

    private String stationAttendant; // 跟班人员

    private String netDispatcher; // 网调室人员

    private BigDecimal lon; // 经度

    private BigDecimal lat; // 纬度

    private String weatherCondition; // 天气情况

    private String dutyPersonInfo; // 值班人员情况A-良好、B-不良

    private String dutyPersonRemarks; // 值班人员备注

    private String delayFlag; // 是否延期

    private List<DeviceMainWithStatus> deviceMainList = Lists.newArrayList();

    public Date getTaskStart() {
        return taskStart;
    }

    public void setTaskStart(Date taskStart) {
        this.taskStart = taskStart;
    }

    public Date getTaskEnd() {
        return taskEnd;
    }

    public void setTaskEnd(Date taskEnd) {
        this.taskEnd = taskEnd;
    }

    public User getTaskOperator() {
        return taskOperator;
    }

    public void setTaskOperator(User taskOperator) {
        this.taskOperator = taskOperator;
    }

    public String getTaskTitle() {
        return taskTitle;
    }

    public void setTaskTitle(String taskTitle) {
        this.taskTitle = taskTitle;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public Office getSysOffice() {
        return sysOffice;
    }

    public void setSysOffice(Office sysOffice) {
        this.sysOffice = sysOffice;
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getCloseDate() {
        return closeDate;
    }

    public void setCloseDate(Date closeDate) {
        this.closeDate = closeDate;
    }

    public List<DeviceMainWithStatus> getDeviceMainList() {
        return deviceMainList;
    }

    public void setDeviceMainList(List<DeviceMainWithStatus> deviceMainList) {
        this.deviceMainList = deviceMainList;
    }

    public String getStationDutyPerson() {
        return stationDutyPerson;
    }

    public void setStationDutyPerson(String stationDutyPerson) {
        this.stationDutyPerson = stationDutyPerson;
    }

    public String getStationAttendant() {
        return stationAttendant;
    }

    public void setStationAttendant(String stationAttendant) {
        this.stationAttendant = stationAttendant;
    }

    public String getNetDispatcher() {
        return netDispatcher;
    }

    public void setNetDispatcher(String netDispatcher) {
        this.netDispatcher = netDispatcher;
    }

    public BigDecimal getLon() {
        return lon;
    }

    public void setLon(BigDecimal lon) {
        this.lon = lon;
    }

    public BigDecimal getLat() {
        return lat;
    }

    public void setLat(BigDecimal lat) {
        this.lat = lat;
    }

    public String getWeatherCondition() {
        return weatherCondition;
    }

    public void setWeatherCondition(String weatherCondition) {
        this.weatherCondition = weatherCondition;
    }

    public String getDutyPersonInfo() {
        return dutyPersonInfo;
    }

    public void setDutyPersonInfo(String dutyPersonInfo) {
        this.dutyPersonInfo = dutyPersonInfo;
    }

    public String getDutyPersonRemarks() {
        return dutyPersonRemarks;
    }

    public void setDutyPersonRemarks(String dutyPersonRemarks) {
        this.dutyPersonRemarks = dutyPersonRemarks;
    }

    public String getDelayFlag() {
        return delayFlag;
    }

    public void setDelayFlag(String delayFlag) {
        this.delayFlag = delayFlag;
    }
}
